package com.hongyun.tms.service;

import com.hongyun.tms.common.dto.CheckDTO;

import java.util.List;

public interface CommonService {

    /**
     * 验证简单的重复字段
     * @param tableName
     * @param conditionColNm
     * @param conditionColVal
     * @param gid
     * @param errorKeyWord
     * @param otherCondition
     * @return
     */
    boolean isRepeate(String tableName, String conditionColNm, String conditionColVal, String gid, String errorKeyWord, List<CheckDTO> keyValue, String ... otherCondition);

}

